package org.dromara.exam.domain.bo;

import org.dromara.exam.domain.ExamWord;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 单词主表业务对象 exam_word
 *
 * @author Lion Li
 * @date 2025-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ExamWord.class, reverseConvertGenerate = false)
public class ExamWordBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long wordId;

    /**
     * 单词
     */
    @NotBlank(message = "单词不能为空", groups = { AddGroup.class, EditGroup.class })
    private String word;

    /**
     * 英式发音
     */
    private String ukPronunciation;

    /**
     * 美式发音
     */
    private String usPronunciation;


}
